//app.js
App({
	onLaunch: function () {
		//调用API从本地缓存中获取数据
	},
	onShow: function () {
	},
	onHide: function () {
	},
	onError: function (msg) {
		console.log(msg)
	}, 
  kbtools: require('/wdl_esfroom/static/tools.js'),
	util: require('we7/resource/js/util.js'),
	tabBar: {
		"color": "#123",
		"selectedColor": "#1ba9ba",
		"borderStyle": "#1ba9ba",
		"backgroundColor": "#fff",
		"list": [
			{
				"pagePath": "/wdl_esfroom/pages/index/index",
				"iconPath": "/we7/resource/icon/home.png",
				"selectedIconPath": "/we7/resource/icon/homeselect.png",
				"text": "首页"
			},
			{
        "pagePath": "/wdl_esfroom/pages/house/search",
				"iconPath": "/we7/resource/icon/hotel.png",
				"selectedIconPath": "/we7/resource/icon/hotelselect.png",
				"text": "二手房"
			},
			{
        "pagePath": "/wdl_esfroom/pages/house/zhu",
				"iconPath": "/we7/resource/icon/todo.png",
				"selectedIconPath": "/we7/resource/icon/todoselect.png",
				"text": "租房"
			},
			{
        "pagePath": "/wdl_esfroom/pages/index/user",
				"iconPath": "/we7/resource/icon/user.png",
				"selectedIconPath": "/we7/resource/icon/userselect.png",
				"text": "我的"
			}
		]
	}, 
  //用户信息，sessionid是用户是否登录的凭证
  userInfo: {
    sessionid: null // 无需修改
  },
  //站点信息
  siteInfo: require('siteinfo.js')  
 
});
